package cn.jwcat.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author 作者
 * @since 2023-04-18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("s_staff_area")
public class StaffArea {

	/**
	 * 管理层与房区的联表
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	/**
	 * staff表的id
	 */
	@TableField("staff_id")
	private Integer staffId;

	/**
	 * 房区表的id
	 */
	@TableField("area_id")
	private Integer areaId;


}
